{config_load file="$language/lang_$language.conf" section="advanced_search"}
{config_load file="$language/lang_$language.conf" section="popup_search_help"}
<!--<h1>{#heading_search#}</h1> -->
{$FORM_ACTION}
{if $error!=''}<div class="errormessage">{$error}</div>{/if}
<div class="highlightbox">
<table width="100%" border="0" cellpadding="0" id="xm-adv-search">
  <tr> 
    <td><strong>{#title_keywords#}<br />
    </strong>{$INPUT_KEYWORDS}
    </td>
  </tr>
  <tr>
    <td style="padding: 0 15px;"><div data-role="collapsible" data-collapsed="true"><h3>{#title_help#}</h3>
      <p>{#text_help#}</p></div></td>
  </tr>
  <tr> 
    <td valign="top"><strong>{#text_categories#}</strong><br />
      {$SELECT_CATEGORIES}
      <div data-role="fieldcontain" style="display:none">
 	<fieldset data-role="controlgroup">
		{$ENTRY_SUBCAT}
		<label for="checkbox-1">{#text_subkategories#}</label>
    </fieldset>
</div>
      </td>
  </tr>
  <tr> 
    <td valign="top"><strong>{#text_manufacturer#}<br />
      {$SELECT_MANUFACTURERS}    </strong></td>
    </tr>
  <tr> 
    <td valign="top"><strong>{#text_min#}</strong><br />
      {$SELECT_PFROM}</td>
    </tr>
  <tr>
    <td valign="top"><strong>{#text_max#}</strong><br />
      {$SELECT_PTO}</td>
    </tr>
</table>
</div>
<p class="btn_submit">{$BUTTON_SUBMIT}</p>
{$FORM_END}